package com.cloud.api.domain.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "ModelPerformance", description = "整车性能参数信息")
public class ModelPerformance implements Serializable {


    @Schema(description = "主键")
    @NotEmpty(message = "{validation.common.id}")
    private String id;

    @Schema(description = "百公里加速(s)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String hundredAccelerate;

    @Schema(description = "百公里耗电量(kWh/100km)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String hundredPowerConsumption;

    @Schema(description = "电池系统能量密度(Wh/kg)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String batterySystemEnergyDensity;

    @Schema(description = "驱动电机峰值功率(kW)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String driveMotorPeakPower;

    @Schema(description = "峰值转速(min)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String peakSpeed;

    @Schema(description = "吨百公里耗油量(kwh)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String tonHundredFuelConsumption;

    @Schema(description = "峰值转矩(N.m)")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String peakTorque;
}
